package com.lzx.tease.service;

import com.lzx.common.utils.R;
import com.lzx.tease.entity.Recommend;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzx
 * @since 2022-12-20
 */
public interface RecommendService extends IService<Recommend> {

    //保存用户的建议
    R saveRecommend(Recommend recommend);

    //查询当前用户是否已经提交建议
    R queryRecommendByUserId(int userId);
}
